const PHONE_PATTERN = /(13\d|14[579]|15[^4\D]|17[^49\D]|18\d)\d{8}/g;

export const isPhone = (val) => {
    return PHONE_PATTERN.test(val);
}

export const inNull  = (val) => {
    return val === undefined || val === null
}

export const isEmpty  = (val) => {
    return inNull(val) || val === ''
}

export const isBlank = (val) => {
    return isEmpty(val) || val === ''
}
